package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

/**
 * Created by DK on 16/10/31.
 */
public class MerchantOrderVerificationDto extends DtoEntity {

    /** 平台订单号 */
    private String mallOrderNum;

    /** 商家ID */
    private Long merchantId;

    /** 平台ID */
    private Long mallId;

    /** 客户ID */
    private Long customerId;

    /** 核销员工ID */
    private Long verifierId;

    /** 客户名称 */
    private String customerName;

    /** 产品订单ID */
    private Long merchantOrderItemId;

    /** 订单类型 */
    private String orderType;

    /** 核销类型 */
    private String verificationWay;

    /** 核销状态 */
    private String settlementStatus;

    /** 产品ID */
    private Long productId;

    /** 兑换码 */
    private Long verifyCode;

    /** 核销门店ID */
    private Long merchantStoreId;

    /** 核销员工名称 */
    private String verifyCustomerName;

    /** 产品名称 */
    private String productName;

    /** 产品售价 */
    private BigDecimal productSellPrice;

    /** 产品图片 */
    private String productLogo;

    /** 核销门店名称 */
    private String merchantStoreName;

    /** 产品类型  ALL("全部"), GOODS("商品"), SERVICE("服务") */
    private String productType;

    /** 搜索名称/编号 */
    private String keyword;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String beginDate;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;

    //核销数量
    private Long verifyCount;

    //平台服务费
    private Double serveFee;

    //产品是否可退
    private boolean refund;

    //标准价格(原价)
    private Double productBasePrice;

    public String getMallOrderNum() {
        return mallOrderNum;
    }

    public void setMallOrderNum(String mallOrderNum) {
        this.mallOrderNum = mallOrderNum;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getVerifierId() {
        return verifierId;
    }

    public void setVerifierId(Long verifierId) {
        this.verifierId = verifierId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getMerchantOrderItemId() {
        return merchantOrderItemId;
    }

    public void setMerchantOrderItemId(Long merchantOrderItemId) {
        this.merchantOrderItemId = merchantOrderItemId;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getVerificationWay() {
        return verificationWay;
    }

    public void setVerificationWay(String verificationWay) {
        this.verificationWay = verificationWay;
    }

    public String getSettlementStatus() {
        return settlementStatus;
    }

    public void setSettlementStatus(String settlementStatus) {
        this.settlementStatus = settlementStatus;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(Long verifyCode) {
        this.verifyCode = verifyCode;
    }

    public Long getMerchantStoreId() {
        return merchantStoreId;
    }

    public void setMerchantStoreId(Long merchantStoreId) {
        this.merchantStoreId = merchantStoreId;
    }

    public String getVerifyCustomerName() {
        return verifyCustomerName;
    }

    public void setVerifyCustomerName(String verifyCustomerName) {
        this.verifyCustomerName = verifyCustomerName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public BigDecimal getProductSellPrice() {
        return productSellPrice;
    }

    public void setProductSellPrice(BigDecimal productSellPrice) {
        this.productSellPrice = productSellPrice;
    }

    public String getProductLogo() {
        return productLogo;
    }

    public void setProductLogo(String productLogo) {
        this.productLogo = productLogo;
    }

    public String getMerchantStoreName() {
        return merchantStoreName;
    }

    public void setMerchantStoreName(String merchantStoreName) {
        this.merchantStoreName = merchantStoreName;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getVerifyCount() {
        return verifyCount;
    }

    public void setVerifyCount(Long verifyCount) {
        this.verifyCount = verifyCount;
    }

    public Double getServeFee() {
        return serveFee;
    }

    public void setServeFee(Double serveFee) {
        this.serveFee = serveFee;
    }

    public boolean isRefund() {
        return refund;
    }

    public void setRefund(boolean refund) {
        this.refund = refund;
    }

    public Double getProductBasePrice() {
        return productBasePrice;
    }

    public void setProductBasePrice(Double productBasePrice) {
        this.productBasePrice = productBasePrice;
    }

    @Override
    public String toString() {
        return "MerchantOrderVerificationDto{" +
                "mallOrderNum='" + mallOrderNum + '\'' +
                ", merchantId=" + merchantId +
                ", mallId=" + mallId +
                ", customerId=" + customerId +
                ", verifierId=" + verifierId +
                ", customerName='" + customerName + '\'' +
                ", merchantOrderItemId=" + merchantOrderItemId +
                ", orderType='" + orderType + '\'' +
                ", verificationWay='" + verificationWay + '\'' +
                ", settlementStatus='" + settlementStatus + '\'' +
                ", productId=" + productId +
                ", verifyCode=" + verifyCode +
                ", merchantStoreId=" + merchantStoreId +
                ", verifyCustomerName='" + verifyCustomerName + '\'' +
                ", productName='" + productName + '\'' +
                ", productSellPrice=" + productSellPrice +
                ", productLogo='" + productLogo + '\'' +
                ", merchantStoreName='" + merchantStoreName + '\'' +
                ", productType='" + productType + '\'' +
                ", keyword='" + keyword + '\'' +
                ", beginDate='" + beginDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", verifyCount=" + verifyCount +
                ", serveFee=" + serveFee +
                ", refund=" + refund +
                ", productBasePrice=" + productBasePrice +
                '}';
    }
}
